from typing import Any

from recruit.adapter.database.models import ResumePosition
from tests.adapter.models.utils import (
    check_fields,
    check_model_resume,
)


def test_resume_position_model(get_resume_position: dict[str, Any]) -> None:
    check_model_resume(ResumePosition, get_resume_position)


def test_fields() -> None:
    fields = ('id', 'resume_id', 'position', 'employment', 'work_schedule')
    check_fields(fields, ResumePosition)
